package com.sh.ndt.common;

public interface Constants {

	public static int TRADE_SOURCE_NFS_TRADE_REVENUE_TD_FILE = 1;
	public static int TRADE_SOURCE_DERIVATIVES_DATA_LOAD = 2;
	public static int TRADE_SOURCE_MISC_EXPENSES = 3;
	public static int TRADE_SOURCE_BBSS = 4;
	public static int TRADE_SOURCE_OPTION_TICKET_MANUAL_ENTRY = 5;
	public static int TRADE_SOURCE_UK_MINT_FIDESSA_EQT = 6;
	public static int TRADE_SOURCE_UK_MINT_FIDESSA_PNL = 7;
	public static int TRADE_SOURCE_ENVIRONMENT_DESK = 10;	
	public static int TRADE_SOURCE_PARIS_FUTURES_LOAD = 12;
	public static int TRADE_SOURCE_CHECK_REVENUE = 13;
	public static int TRADE_SOURCE_UK_GMI_FUTURES = 14;
	public static int TRADE_SOURCE_SYDNEY_GMI_FUTURES = 15;
	public static int TRADE_SOURCE_ENVIRONMENTAL_BRKG = 16;
	

	
	public static final char[] digitArray = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9' };
	public static final char[] smallLettersArray = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' };
	public static final char[] capitalLettersArray = { 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z' };
	public static final char[] specialCharsArray = { '`', '~', '!', '@', '#', '$', '%', '^', '&' };
	public static final char[] phoneArray = { '0', '1', '2', '3', '4', '5','6', '7', '8', '9','-' };
	public static String CURRENT_PASSWORD = "CURRENT_PASSWORD";
	public static String NEW_PASSWORD = "NEW_PASSWORD";
	public static String SUPER_USER = "Super User";
	public static enum DecimalPrecision {ZERO, ONE, TWO, THREE, FOUR, FIVE, SIX, SEVEN, EIGHT, NINE, TEN};


	public static String ADMIN_USER_EMAIL = "";
	public static String ADMIN_EMAIL_PASSWORD = "";
	
	/****************************************************************/
			/** These values are only for Offshore @ Mysore **/ 
	/****************************************************************/

	public static String SMTP_HOST_TEST = "10.0.100.95";
	public static String LDAP_URL_TEST = "LDAP://10.0.100.227:389";
	public static String AD_DOMAIN_TEST = "@mysore.spinc.org";
	
	/*******************************************************************/
	/** This value needs to be changed every-time we build for Client **/ 
	/*******************************************************************/

	public static String SMTP_HOST = SMTP_HOST_TEST;
	public static String LDAP_URL = LDAP_URL_TEST;
	public static String AD_DOMAIN = AD_DOMAIN_TEST;
	
	public static String DB_SCHEMA = "";

	// AD Related Constants
	public static String SMTP_AUTHORIZATION = "";
	public static String DN_4_AD = "";
	
	/***************************************************************/

	public static String PROD_REGION_SCHEMA = "";
	public static String DEV_REGION_SCHEMA = "";
	public static String QA_REGION_SCHEMA = "";

	/** Locale Settings **/
	public static String LANGUAGE_ENGLISH = "1";
	public static String LANGUAGE_FRENCH = "2";

	/****************/
	public static final String DATE_FORMAT = "dd/MM/yyyy";


	// LOOKUP REF END
	
	public static String EDIT = "EDIT";
	public static String APPROVE = "Approve";
	public static String CREATE = "Create";
	public static String EMPTYSTR = "";	
		
	public static final String REF_USER_ACTIVE = "ACTIVE";
	public static final String REF_USER_INACTIVE = "INACTIVE";
	public static final String REF_USER_LOCKED = "LOCKED";
	public static final String REF_USER_NEW = "NEW";
	public static final String REF_PASSWORD_CHANGE = "PASSWORD CHANGE";
	public static final String USER_STATUS = "USER_STATUS";
	public static final String START_DATE = "START_DATE";
	public static final String END_DATE = "END_DATE";
	public static final String STATUS_CHANGE_DATE = "STATUS_CHANGE_DATE";
	public static final String DATE_SECONDS = "SECONDS";
	public static final String DATE_HOURS = "HOURS";
	public static final String DATE_MINUTES = "MINUTES";
	public static final String DATE_DAYS = "DAYS";
	
	public static final int SUPER_USER_ROLE_ID = 114;
	public static final int BUYER_ROLE_ID = 100;
	public static final int GMM_ROLE_ID = 101;

	public static String DEFAULT_DATE = "01/01/2999";
	public static String Y = "Y";
	public static String N = "N";
	
	
	public static int DATE_LENGTH= 10;


	//log4j properties path
	public static final String LOG4J_CONFIG_FILE="/properties/log4j.properties";
	public static final String DOCUMENT_BYTE = "DOCUMENT_BYTE";
	public static final String DOCUMENT_TYPE = "DOCUMENT_TYPE";


	//pagination page size
	public static final String PAGESIZE_100 = "100";
	public static final String PAGESIZE_200 = "200";
	public static final String PAGESIZE_300 = "300";
	public static final String PAGESIZE_400 = "400";
	
	public static final int MAX_NVARCHAR_LEN = 1000;
	
	public static final String SUCCESS 		= "SUCCESS";
	public static final String REJECTED 	= "REJECTED";
	public static final String FAILURE 		= "FAILURE";
	public static final String UNKNOWNSTATUS= "UNKNOWNSTATUS";
	
}
